package com.wnxy.sdd;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
// 扫描mybatis的mapper接口所在的包； 自动对该包下的接口生成代理对象
@MapperScan("com.wnxy.sdd.mapper")
// 开启Spring缓存注解支持
@EnableCaching
// 开启定时任务支持
@EnableScheduling
public class SystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class);
    }
}
